﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Shared
{
    internal struct Key
    {
        private object[] _key;
        public object[] GetKey(object keyUnknown)
        {
            object[] k = keyUnknown as object[];
            if (k == null) (k = _key ?? (_key = new object[1]))[0] = keyUnknown;
            return k;
        }
    }
}
